package com.molichuxing.services.util;

import com.ctrip.framework.apollo.Config;
import com.ctrip.framework.apollo.ConfigService;

/**
 * @create_date: 2019/4/3
 * @author xuelin yi
 * @name:ApolloUtil
 **/
public class ApolloUtil {
    public static String getApolloValue (String key, String defaultValue) {
        Config config = ConfigService.getAppConfig();
        return config.getProperty(key, defaultValue);
    }

}
